package Test;

import java.util.concurrent.Semaphore;

public class Demo5 {
    public static void main(String[] args) throws InterruptedException {
        Semaphore semaphore=new Semaphore(3);
        semaphore.acquire();
        semaphore.release();
    }
}
